<?php
namespace app\common\model;

use think\Model;

class Business extends Model
{
    public function getList(array $where=[], $pageSize=false, array $pageconfig=[], $fields=false, $order='id desc')
    {
        return $this->where($where)->field($fields)->order($order)->paginate($pageSize, false, $pageconfig);
    }
}